package homework.demo3;

import org.springframework.stereotype.Component;

@Component("summer")
public class Shirt implements Clothes{
   public void wear(){
       System.out.println("穿了T恤");
   }
}
